package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.entity.Upload;

import java.util.List;

/**
 * @author GE-LV5
 * @create 2023/2/27 15:15
 */
public interface IUploadService extends IService<Upload> {
    /**
     *  查询文件上传列表
     */
     List<Upload> selectUploadList(Upload upload);



    /**
     * 添加文件
     * @param upload
     * @return
     */
       int insertUpload(Upload upload);

    /**
     * 修改文件上传
     * @param upload
     * @return
     */
       int updateUpload(Upload upload);

    /**
     * 删除文件上传
     */
    int deleteUploadByIds(String ids);


    Upload selectUploadById(Long id);
}
